home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980901-19981211
/
000003_news@newsmaster….columbia.edu _Tue Sep 1 20:07:48 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA10317
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 1 Sep 1998 20:07:48 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA04278
for kermit.misc@watsun; Tue, 1 Sep 1998 20:07:48 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!news-peer.sprintlink.net!news-backup-east.sprintlink.net!news.sprintlink.net!204.122.16.44!news.eskimo.com!pygmy
From: pygmy@eskimo.com (Frank Sergeant)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 telnet to dosemu under Linux
Date: Tue, 01 Sep 1998 16:09:40 -0500
Organization: Eskimo North (206) For-Ever
Lines: 68
Message-ID: <UKG71Yv1uAiI084yn@eskimo.com>
References: <PHK01Yv1uIJW084yn@eskimo.com>
Reply-To: frank.sergeant@pobox.com
NNTP-Posting-Host: eskimo.com
Originator: pygmy@eskimo.com
Xref: news.columbia.edu comp.protocols.kermit.misc:9161
Things continue to look up. I modified the dos emulator
and now Kermit 95 works without having to reset the code
page manually after the dosemulator starts.
ebiederm@inetnebr.com (Eric W. Biederman) wrote:
> What it comes down to is:
> 1) IBM character set issues, are a pain with slang.
> We have a hack for the linux terminal but that is all.
> Frank you've reversed engineered it beautifully.
> Look in src/env/video/terminal.c line 69 if you want to see where
> the ESC ( U is. Remember \033 is octal for the escape character.
Thank you! That was just the information I needed. I found
the code at line 161 in src/env/video/terminal.c (for version 0.97.10).
I commented out the original line and replaced it with the following
line, as
//if (Use_IBM_Codes) SLtt_write_string ("\033(U\033(U\r \r");
if (Use_IBM_Codes) SLtt_write_string ("\033(B\033-U\r \r");
So, thanks to you and the Kermit support team, I can use Kermit95
on a W95 machine to telnet to the Linux box, both ends have the
terminal set to 'linux', and have my Clipper app look pretty good,
including legible text plus box drawing characters, without needing
to escape to Kermit to reset the character set. (In other words,
dosemu has now stopped resetting the character set or code page
or whatever.) (The key information from Kermit support was that
apparently dosemu was sending 'ESC ( U ESC ( U' instead of
'ESC ( B ESC - U'.)
I can now use any of the following three telnet clients and run
the Clipper app: Linux, Kermit95, MSKermit (i.e. Kermit under DOS
over a packet driver on Ethernet, where Kermit supplies the TCP/IP).
Each still has a few little problems I haven't fully resolved, but
it probably runs "good enough" at this stage. I have a CLIPPER.KSC
file for K95 and for MSKermit that helps get the terminal keys
sending what the Clipper app expects. I plan to post those files
eventually. If anyone needs them sooner, just email me.
> 4) I'm going to be moving in about a month so my
> free time is a little short right now.
I understand completely and am pleased you could point me
in the right direction.
> It would be a real help however is people started fixing their termcaps,
> or terminfo databases to include the pc capabilities, and sending them to
> Eric Raymond. So your terminals will work.
I'm interested in this, but don't quite understand. If
Eric or Eric or anyone else could explain it a little more,
I would appreciate it. Do you mean to _invent_ new capability
strings that will then be used by dosemu (for, for example,
the Ctrl-PgDn key), or that the capability strings already exist
but just aren't listed in the 'linux' terminfo source, or ...?
I mention Ctrl-PgDn because it and Ctrl-PgUp are the only keys
that don't seem to work for me when using Linux to telnet to
the Linux box running dosemu. So, a general explanation would
be useful as would any specific suggestion on how to "turn on"
the Ctrl-PgDn and Ctrl-PgUp keys. (I do have Ctrl-PgDn and
Ctrl-PgUp working when telnetting from K95 or MSKermit.)
-- Frank
frank.sergeant@pobox.com